package com.willcode.demo.registerbean.method4bean.config;

import com.willcode.demo.registerbean.method4bean.impl.Demo4BeanImpl;
import com.willcode.demo.registerbean.method4bean.interfacee.IDemo4Bean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Will
 */
@Configuration
public class Demo4BeanConfig {

    @Bean
    public IDemo4Bean demo4Bean(){
        return new Demo4BeanImpl();
    }

}
